import request from '@/utils/request'

// 获取集合
export function getlistdata() {
  return request({
    url: '/lgorder/ec/getEchartsData',
    method: 'get'
  })
}

// 修改 getlistdate 函数，传递 startDate 和 endDate 参数
export function getlistdate(startDate, endDate) {
  return request({
    url: '/lgorder/ec/getdate',
    method: 'get',
    params: {  // 将日期参数通过 URL 查询字符串传递
      startDate,
      endDate
    }
  });
}
export function getlist() {
  return request({
    url: '/equipment/api/count',
    method: 'get'
  })
}

export function getStorageList() {
  return request({
    url: '/lgorder/order/getpaihang',
    method: 'get'
  })
}
export function getStorageAdress() {
  return request({
    url: '/lgorder/ec/getColdAdress',
    method: 'get'
  })
}
